<?php
namespace Service;

class Document extends Base
{

    public function getDatabase()
    {
        return $this->get(DATABASE_DOCUMENT);
    }

    public function getList($categoryId = 0)
    {
        $database = $this->getDatabase();
        return $database->getList($categoryId);
    }

}